package com.ojoin.trade.t0loan_core.web.dao;

import java.util.List;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.t0loan_core.web.domain.TbT0RefundTask;
import com.ojoin.trade.t0loan_core.web.domain.TbT0RefundTaskVO;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-10-22
 * Time: 上午10:43
 * To change this template use File | Settings | File Templates.
 */
public interface TbT0RefundTaskDao extends BaseDao<TbT0RefundTask> {

	public List<TbT0RefundTaskVO> queryAllUserUnsuccessRefundTask() throws BusinessException;
	
	public TbT0RefundTaskVO queryUserLastRefundTaskById(int joinuserid) throws BusinessException;

	public int updateRefundTaskStatusAndMemoById(int id, int status, String memo, String orderid) throws BusinessException;
		
		
}
